package com.douyu.ocean.recom.platfrom.core.web.vo;

/**
 * Created by luohao on 2016/11/30.
 */
public class ResultWrapper<T> {

    private int code;   // 0：成功， 1：失败
    private String errorMsg;
    private T result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
